﻿using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace LdtJudge.DataEngine.Model.Collection
{
    /// <summary>
    /// 文书数据删除调度消息体
    /// </summary>
    public class DataSourceRemoveModel
    {
        /// <summary>
        /// 消息ID
        /// </summary>
        public string MsgId { get; set; }

        /// <summary>
        /// 队列名称
        /// </summary>
        public string MsgTypeName { get; set; }

        /// <summary>
        /// 案件信息
        /// </summary>
        public DataSourceCaseInfo CaseInfo { get; set; }

        /// <summary>
        /// 文书信息
        /// </summary>
        public List<DataSourceDocInfo> DocInfos { get; set; }

        /// <summary>
        /// 阶段
        /// </summary>
        public string Laststage { get; set; }
    }

    /// <summary>
    /// 案件信息
    /// </summary>
    public class DataSourceCaseInfo
    {
        /// <summary>
        /// 案件ID
        /// </summary>
        public string CaseId { get; set; }

        /// <summary>
        /// 案号
        /// </summary>
        public string CaseCode { get; set; }

        /// <summary>
        /// 案件类型编号
        /// </summary>
        public string CaseType { get; set; }

        /// <summary>
        /// 法院ID
        /// </summary>
        public string CourtId { get; set; }
    }

    /// <summary>
    /// 文书信息
    /// </summary>
    public class DataSourceDocInfo
    {
        /// <summary>
        /// 文书编号
        /// </summary>
        public string SourceCode { get; set; }

        /// <summary>
        /// FileID
        /// </summary>
        public string FileId { get; set; }

        /// <summary>
        /// sfId
        /// </summary>
        public string SfId { get; set; }

        /// <summary>
        /// ExactFinish
        /// </summary>
        public bool? ExactFinish { get; set; }

        /// <summary>
        /// 文书处理状态
        /// </summary>
        public string MsgState { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        public string ErrMessage { get; set; }
    }

}
